package com.autotest.nore.mapper;

import com.autotest.nore.dto.PlanDTO;
import com.autotest.nore.request.QueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PlanMapper {
    void addPlan(PlanDTO plan);

    void updatePlan(PlanDTO plan);

    void deletePlan(String id);

    PlanDTO getPlanDetail(String id);

    List<PlanDTO> getPlanList(QueryRequest request);

    List<PlanDTO> findActivePlans();
}
